package com.tiancheng.trade.payment.service;

import com.tiancheng.trade.payment.model.SettleDetail;
import com.tiancheng.trade.payment.task.ums.bo.SettleDetailBo;

import java.util.List;

/**
 * @author kellen
 * @date 2024-12-09 17:04
 */
public interface SettleDetailService {
    /**
     * 批量插入
     *
     * @param details
     */
    Integer saveBatch(List<SettleDetail> details);

    /**
     * 根据id、apprFileName、apprId、distFileName、distId组合条件批量更新
     *
     * @param submitBOS
     * @return
     */
    Integer updateBatch(List<SettleDetailBo> submitBOS);

    Integer updatePayFlowSettleStatus(List<SettleDetailBo> submitBOS);

    void setApprAndDistError(String apprFileName);
}
